<?php
/**
 * Created by PhpStorm.
 * DateTime: 2020/11/13 17:43
 * Intro:
 */

namespace addons\podunk\controller;


class Order extends Base
{
    protected $noNeedLogin = [];
    protected $noNeedRight = '*';

    public function _initialize()
    {
        return parent::_initialize();
    }

    public function getList(){
        $search = $this->request->get('search');
        $app = $this->request->get('app');

        $this->success('订单列表', \addons\podunk\model\Order::getOrderList($app, $search));
    }
}